// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill';
import 'es6-promise/auto';
import Vue from 'vue';
import ElementUI from 'element-ui';
import App from './App';
import router from './router';
import './filter';
import './mock';

// Vue.use(ElementUI);
Vue.use(ElementUI, { size: 'small' });

require('es6-promise').polyfill();

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
});
